<template>
    这是里about页面
    <hr/>
    <button @click="increase">增加</button>
    <hr />
    count:{{ store.state.count }}

    
</template>

<script setup>
        import { useStore } from 'vuex';
        const store = useStore()
        let count = store.state.count;
        function increase(){
            count++;
            store.commit('increase',count)
        }
</script>